package com.orzxlee.InterviewQuestions.Java_SE_Advanced.Demo_Decorator;

public class Decorator implements Interable {

   private  Interable interable;


    public Decorator(Interable interable) {
        this.interable = interable;
    }

    @Override
    public void method() {
        System.out.println("before Decorator");
        interable.method();
        System.out.println("after Decorator");
    }
}
